<?php
include "conn.php";
$sql="delete from user_info where id=2";
$resu=mysqli_query($link,$sql);
if($resu){
    echo "数据删除成功";
}else{
    echo "数据删除失败，失败原因：".mysqli_error($link);
}